﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MN.Framework.Common.Security
{
    public interface IAuthorization
    {
        bool hasAccess(IRole role, BaseEntity Entity);
        bool hasAccess(IUser user, BaseEntity Entity);
    }
}
